is of device type
Schemas
- yaml
- json
- markdown
$schema: https://json-schema.org/draft/2020-12/schema
$id: https://github.com/nqminds/CAHN/blob/main/packages/schemas/src/is_of_device_type.v.1.0.0.schema.yaml
title: is of device type
description: Binds a device instance to a device type
type: object
properties:
device_id:
description: id of the device
type: string
device_type_id:
description: id of the device type of the device
type: string
created_at:
description: timestamp at which device type binding was created in milliseconds
type: integer
required:
- device_id
- device_type_id
- created_at
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://github.com/nqminds/CAHN/blob/main/packages/schemas/src/is_of_device_type.v.1.0.0.schema.yaml",
"title": "is of device type",
"description": "Binds a device instance to a device type",
"type": "object",
"properties": {
"device_id": {
"description": "id of the device",
"type": "string"
},
"device_type_id": {
"description": "id of the device type of the device",
"type": "string"
},
"created_at": {
"description": "timestamp at which device type binding was created in milliseconds",
"type": "integer"
}
},
"required": [
"device_id",
"device_type_id",
"created_at"
]
}
is of device type
Binds a device instance to a device type
The schema defines the following properties:
device_id
(string, required)
id of the device
device_type_id
(string, required)
id of the device type of the device
created_at
(integer, required)
timestamp at which device type binding was created in milliseconds
Examples
- table
- json